package edu.ynu.se.xiecheng.achitectureclass.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class DeviceDataDTO {
    private Long id;
    private Date timestamp;
    private Integer dataType;
    private String name;
    private Integer value;
    private String boxId;
    private Integer status;
    private Integer connState;
    private Date connStateTimestamp;
    private Long greenhouseId;
    private Long deviceId;
}